﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local ="clr-namespace:RoofusUIControls"
    x:Class="RoofusUIControls.RootfusProgrammingSurface"
    Height="Auto" Width="Auto" Name="ProgramSurface">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="MainDrawingElements.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" x:Name="scroller">
        <local:DragConnectorCanvas Width="Auto" Height="Auto" x:Name="dragConnectorSurface" DragConnectionMade="ConnectSurfaceItems">
            <local:DragCanvas x:Name="dragSurface" OnlyDragPads="True" Canvas.Top="0" Canvas.Left="0" Width="Auto" Height="Auto" AllowDragOutOfView="True" HorizontalAlignment="Left" VerticalAlignment="Top">
            </local:DragCanvas>
        </local:DragConnectorCanvas>
    </ScrollViewer>
</UserControl>
